const fs = require('fs');
const path = require('path');
var https = require('https')
const express = require('express')

const app = express()
const httpsOptions = {
    key: fs.readFileSync(path.dirname(__dirname, "./ssl/7267422_www.wutianci.cn.key")),
    csrt: fs.readFileSync(path.dirname(__dirname, "./ssl/7267422_www.wutianci.cn.pem"))
}
const SSL_PORT = 443;

https.createServer(httpsOptions, app).listen(SSL_PORT)